# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-ovos-plugin-manager
pkgver=0.0.24
pkgrel=1
pkgdesc="Plugin manager for OpenVoiceOS, STT/TTS/Wakewords that can be used anywhere"
url="https://github.com/OpenVoiceOS/OVOS-plugin-manager"
arch="noarch"
license="Apache-2.0"
depends="
	py3-combo-lock
	py3-langcodes
	py3-ovos-bus-client
	py3-ovos-utils
	py3-quebra-frases
	py3-requests
	"
makedepends="
	py3-setuptools
	py3-gpep517
	py3-wheel
	"
subpackages="$pkgname-pyc"
source="https://github.com/OpenVoiceOS/OVOS-plugin-manager/archive/V$pkgver/ovos-plugin-manager-V$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/ovos-plugin-manager-$pkgver"

build() {
	gpep517 build-wheel \
		--wheel-dir .dist \
		--output-fd 3 3>&1 >&2
}

package() {
	python3 -m installer -d "$pkgdir" \
		.dist/*.whl
}

sha512sums="
e8c5605311cb42fa964b1e1024926f079aa09c9da56d313f5e63044db065e426b1f7b4b447f0ffeefad83b301fa78f1e0c036bb651dcfec0d14816884d8a887a  ovos-plugin-manager-V0.0.24.tar.gz
"
